package com.sg.dto.biz.bff.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc BffConfItemMatchEvaThemeAnswerDto
 * @使用场景
 */
@Data
public class BffConfItemMatchEvaThemeAnswerDto implements Serializable {

    /**
     * 配置方案ID
     */
    @ApiModelProperty("配置方案ID ")
    private String confSchemeId;

    /**
     * 配置方案标识
     */
    @ApiModelProperty("配置方案标识")
    private String confSchemeCode;

    /**
     * 配置方案名称
     */
    @ApiModelProperty("配置方案名称")
    private String confSchemeName;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffConfItemMatchEvaThemeAnswerDto that = (BffConfItemMatchEvaThemeAnswerDto) o;
        return confSchemeId == that.confSchemeId && confSchemeCode == that.confSchemeCode && confSchemeName == that.confSchemeName;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), confSchemeId, confSchemeCode, confSchemeName);
    }


}
   